MailPoet\Cron\CronHelper S

Total Complexity 40
Dependencies 8
Dependents 16
Total lines 206
Lines of code 159
Logical lines of code 78
Comment lines 15
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
getSiteUrl()
A
52 10 20
isDaemonAccessible()
S
58 6 16
pingDaemon()
S
61 3 12
accessDaemon()
S
59 2 15
getCronUrl()
S
63 2 11
enforceExecutionLimit()
S
69 2 6
saveDaemonLastError()
S
67 2 8
saveDaemonRunCompleted()
S
69 2 7
createDaemon()
S
61 1 13
queryCronUrl()
S
62 1 12
validatePingResponse()
S
80 1 3
__construct()
S
77 1 4
createToken()
S
81 1 3
getDaemonExecutionLimit()
S
75 1 4
saveDaemon()
S
70 1 7
getDaemon()
S
80 1 3
restartDaemon()
S
80 1 3
getDaemonExecutionTimeout()
S
72 1 5
deactivateDaemon()
S
70 1 7